package com.smart.business.order.service;

import com.smart.api.dto.OrderDto;
import com.smart.api.service.OrderService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Service;

@Service
public class BusinessOrderService {
    @Reference(check = false)
    OrderService orderService;

    public void createOrder(OrderDto orderDto) {
        //保存订单信息
        orderService.createOrder(orderDto);
        //减少库存
    }

}
